<template>
    <div id="Home-DetailMiddle-Top">
        <div id="Home-DetailMiddle-Content">
            <div class="top">
                <div class="one">
                    <img :src="this.$store.state.HomeDetail.Detail.img" alt="" class="img">
                    <span class="iconfont icon-renzheng min"></span>
                </div>
                <div class="two">
                    <h2>故事档案局</h2>
                    <span>知乎&nbsp;官方账号</span>
                    <img src="img/ss.jpg" alt="">
                </div>
                <span class="span">＋关注</span>
            </div>
            <div class="bottom">
                <span>8.5万</span>人赞同了该回答
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        name: "Detail-Middle-Top"
    }
</script>

<style lang="scss" scoped>
    #Home-DetailMiddle-Top{
        padding: 0 0.14rem;
    }

    #Home-DetailMiddle-Content{
        .top{
            padding: 0.09rem 0;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            position: relative;

            .one{
                width: 0.37rem;
                height: 0.37rem;
                position: relative;


                .img{
                    width: 0.37rem;
                }
                .min{
                    font-size: 0.16rem;
                    display: block;
                    color: #0084ff;
                    position: absolute;
                    right: -0.03rem;
                    bottom: -0.03rem;
                }
            }

            .two{
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: flex-start;
                margin-left: 0.07rem;
                position: relative;
                padding-right: 0.16rem;

                h2{
                    font-size: 0.15rem;
                    line-height: 0.15rem;
                    color: #000000;
                    margin-bottom: 0.07rem;
                }
                span{
                    font-size: 0.13rem;
                    line-height: 0.13rem;
                }

                img{
                    width: 0.16rem;
                    position: absolute;
                    top: 0;
                    right: 0;
                }
            }

            .span{
                width: 0.72rem;
                height: 0.37rem;
                display: block;
                background-color: #f6f6f6;
                font-size: 0.18rem;
                border-radius: 0.06rem;
                color: #0079f0;
                text-align: center;
                line-height: 0.37rem;
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                right: 0.02rem;
            }
        }

        .bottom{
            font-size: 0.13rem;
            color: #7f8aa0;
            line-height: 0.31rem;
            padding: 0.09rem 0;
        }
    }

</style>